package com.dreamwhale.machinery.goods.mapper;

import com.dreamwhale.machinery.goods.entity.MachineBuy;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dreamwhale.machinery.logistics.entity.TransportInfo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 二手机械购买 Mapper 接口
 * </p>
 *
 * @author Author
 * @since 2020-05-28
 */
public interface MachineBuyMapper extends BaseMapper<MachineBuy> {

    MachineBuy getHot();

    /**
     * 查询找机械详情
     *
     * @param infoId
     * @return
     */
    MachineBuy selectMachineBuyByTypeId(@Param("infoId") Integer infoId);
}
